<template>
    <transition>
        <div>
            <button @click="aLoading(true)">loading</button>
            <br>
            <button @click="aSuccess">aSuccess</button>
            <br>
            <button @click="aAlert_shot({show: true})">aAlert_shot</button>
            <br>
            <Loading></Loading>
            <Success></Success>
            <Alert_shot></Alert_shot>

        </div>
    </transition>
</template>
<script>
    import {mapActions} from 'vuex'

    export default {
        name: 'modal',
        created() {

        },
        methods: {
            ...mapActions('modal', [
                'aLoading',
                'aSuccess',
                'aAlert_shot',
            ]),
        }
    }
</script>
